Tryit Editor v2.3

Edit This Code:
<!DOCTYPE html> <html> <head> <meta name="viewport" content="width=device-width, initial-scale=1"> <link rel="stylesheet" href="../../code.jquery.com/mobile/1.4.5/jquery.mobile-1.4.5.min.css"> <script src="../../code.jquery.com/jquery-1.11.2.min.js"></script> <script src="../../code.jquery.com/mobile/1.4.5/jquery.mobile-1.4.5.min.js"></script> </head> <body> <div data-role="page"> <div data-role="header"> <h1>Welcome To My Homepage</h1> </div> <div id="pageone" data-role="main" class="ui-content"> <p>Click on the image to enlarge it.</p> <p>Notice that we have added a "back button" in the top right corner.</p> <a href="#myPopup" data-rel="popup" data-position-to="window"> <img src="skaret.jpg" alt="Skaret View" style="width:200px;"></a> <div data-role="popup" id="myPopup"> <p>This is my picture!</p> <a href="#pageone" data-rel="back" class="ui-btn ui-corner-all ui-shadow ui-btn-a ui-icon-delete ui-btn-icon-notext ui-btn-right">Close</a><img src="skaret.jpg" style="width:800px;height:400px;" alt="Skaret View"> </div> </div> <div data-role="footer"> <h1>Footer Text</h1> </div> </div> </body> <!-- Mirrored from www.w3schools.com/jquerymobile/tryit.asp?filename=tryjqmob_popup_image by HTTrack Website Copier/3.x [XR&CO'2014], Fri, 23 Jan 2015 07:29:36 GMT --> </html>
Result:
Try it Yourself - © w3schools.com